package web;

public class Posts {

	private int uid;
	private int tid;
	private String cont=new String();
	private User user;
	private String create_time=new String();
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	public String getCont() {
		return cont;
	}
	public void setCont(String cont) {
		this.cont = cont;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	@Override
	public String toString() {
		return "Posts [uid=" + uid + ", tid=" + tid + ", cont=" + cont
				+ ", user=" + user + ", create_time=" + create_time + "]";
	}
	
}
